export default [
  //主页
  {
    path : '/',
    name : 'Home',
    meta: {title: '主页',keepAlive:false,auth:false},
    component : () => import('@/views/Home.vue')
  },
  //基础组件
  {
    path : '/button',
    name : 'Button',
    meta : {title:'按钮',keepAlive:false,auth:false},
    component : () => import('@/components/Button/index.vue')
  },
  {
    path : '/toast',
    name : 'Toast',
    meta : {title:'轻提示',keepAlive:false,auth:false},
    component : () => import('@/components/Toast/index.vue')
  },
  {
    path : '/popup',
    name : 'Popup',
    meta : {title:'弹出层',keepAlive:false,auth:false},
    component : () => import('@/components/Popup/index.vue')
  },
  //表单组件
  {
    path : '/field',
    name : 'Field',
    meta : {title:'输入框',keepAlive:false,auth:false},
    component : () => import('@/components/Field/index.vue')
  },
  {
    path : '/picker',
    name : 'Picker',
    meta : {title:'选择器',keepAlive:false,auth:false},
    component : () => import('@/components/Picker/index.vue')
  },
  {
    path : '/radio',
    name : 'Radio',
    meta : {title:'单选框',keepAlive:false,auth:false},
    component : () => import('@/components/Radio/index.vue')
  },
  {
    path : '/checkbox',
    name : 'Checkbox',
    meta : {title:'复选框',keepAlive:false,auth:false},
    component : () => import('@/components/Checkbox/index.vue')
  },
  {
    path : '/imagePreview',
    name : 'ImagePreview',
    meta : {title:'图片预览',keepAlive:false,auth:false},
    component : () => import('@/components/ImagePreview/index.vue')
  },
]